
<?php if(count($sliders) > 0): ?>


<div id="slider-cycle" class="slider cycle no-responsive slider_cycle group" style="height:485px;">
				    <ul class="slider">
				    
				    
				    <?php ($i = 1) ?>
				    <?php foreach($sliders as $slider): ?>
				    
				    <li>
					   <div class="slide-holder" style="background:  url('<?php echo e(asset(env('THEME'))); ?>/images/<?php echo e($slider->img); ?>') no-repeat center center" style="height:483px;">
					    	<div class="slide-content-holder inner" style="height:483px;">
					    		<?php if($i%2 !== 0): ?>
					    			<div class="slide-content-holder-content" style="position: absolute; top:30px;right:650px;">
					    		<?php else: ?>
					    			<div class="slide-content-holder-content" style="position: absolute; top:80px;left:500px;">
					    		<?php endif; ?>
					    			
					    				<div class="slide-title">
				                            <?php echo $slider->title; ?>

				                        </div>
				                        <div class="slide-content" style="color:#fff">
				                            <p><?php echo $slider->desc; ?></p>
				                        </div>
					    			
					    			</div>
					    	</div>
					    </div>
				    </li>
				    
				    <?php ($i =  $i+1) ?>
				    <?php endforeach; ?>
				    </ul>
				    
				    <div id="yit-widget-area" class="group">
				        <div class="yit-widget-content inner group">
				            <div class="widget-first yit-widget widget col1_4 one-fourth col widget-icon-text group">
				                <img class="icon-img" src="images/icons/cloud.jpg" alt="" />		
				                <h3>Great Design</h3>
				                <p>A widgetized area: add shorcodes, text, icons and more.</p>
				            </div>
				            <div class="yit-widget widget col1_4 one-fourth col widget-last-post group">
				                <img class="icon-img" src="images/icons/blog1.png" alt="" />        
				                <div>
				                    <h3><a class="text-color" href="#" title="">Blog news</a></h3>
				                    <p>Section shortcodes &amp; sticky posts! <a href="article.html"> | more ></a></p>
				                </div>
				            </div>
				            <div class="widget-last yit-widget widget col1_4 one-fourth col yit_text_quote">
				                <blockquote class="text-quote-quote">“Anyone who has never made a mistake has never tried anything new.”</blockquote>
				                <cite class="text-quote-author">Albert Einstein</cite>
				            </div>
				        </div>
				    </div>
				</div>
				<script type="text/javascript">
				    jQuery(document).ready(function($){
				        
				        var     yit_slider_cycle_fx = 'easing',
				                yit_slider_cycle_speed = 800,
				                yit_slider_cycle_timeout = 3000,
				                yit_slider_cycle_directionNav = true,
				                yit_slider_cycle_directionNavHide = true, 
				                yit_slider_cycle_autoplay = true;
				                
				        var yit_widget_area_position = function(){
				            $('#yit-widget-area').css({ top: 33 - $('#yit-widget-area').height() });
				        };
				        $(window).resize(yit_widget_area_position);
				        yit_widget_area_position();
				        
				        if( $.browser.msie && parseInt($.browser.version.substr(0,1),10) <= '8' ) {
				            $('#slider-cycle ul.slider').anythingSlider({
				                 expand              : true,
				                 startStopped        : false,
				                 buildArrows         : yit_slider_cycle_directionNav,
				                 buildNavigation     : false,
				                 buildStartStop      : false,
				                 delay               : yit_slider_cycle_timeout,
				                 animationTime       : yit_slider_cycle_speed,
				                 easing              : yit_slider_cycle_fx,
				                 autoPlay            : yit_slider_cycle_autoplay ? true : false,
				                 pauseOnHover        : true, 
				                 toggleArrows        : false,
				                 resizeContents      : true
				            });
				        } else {
				            $('#slider-cycle ul.slider').anythingSlider({
				                 expand              : true,
				                 startStopped        : false,
				                 buildArrows         : yit_slider_cycle_directionNav,
				                 buildNavigation     : false,
				                 buildStartStop      : false,
				                 delay               : yit_slider_cycle_timeout,
				                 animationTime       : yit_slider_cycle_speed,
				                 easing              : yit_slider_cycle_fx,
				                 autoPlay            : yit_slider_cycle_autoplay ? true : false,
				                 pauseOnHover        : true, 
				                 toggleArrows        : yit_slider_cycle_directionNavHide ? true : false,
				                 onSlideComplete     : function(slider){},
				                 resizeContents      : true,
				                 onSlideBegin        : function(slider) {},
				                 onSlideComplete     : function(slider) {}
				            });
				            
				        }
				    });
				</script>
				<div class="mobile-slider">
				    <div class="slider fixed-image inner"><img src="<?php echo e(asset(env('THEME'))); ?>/images/slider-cycle/cycle-fixed.jpg" alt="" /></div>
				</div>
<?php endif; ?>				